package gzj.pojo;

/**
 * @Author ☞☞ 祝晨轩
 * @DateTime ☞☞ 2019/7/17 9:03
 * 不积跬步，无以至千里；不积小流，无以成江海。
 * 键盘敲烂，月薪过万。
 */

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class User {
    //用户id
    private int uid;
    //用户名
    private String userName;
    //用户账号
    private String userCode;
    //用户密码
    private String userPassword;
    //用户性别
    private String userSex;
    //用户年龄
    private int userAge;
    //用户电话
    private String userPhone;
    //用户专业
    private String userMajor;
    //用户学校
    private int userSchool;
    //用户邮箱
    private String email;
    //用户等级
    private int userRole;
    //用户单身情况
    private String userMarriage;
    //用户爱好
    private String userLike;
    //用户个人介绍
    private String userSelf;
    //用户成交量
    private String orderCount;
    //用户创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date creatDate;

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }

    public int getUserAge() {
        return userAge;
    }

    public void setUserAge(int userAge) {
        this.userAge = userAge;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserMajor() {
        return userMajor;
    }

    public void setUserMajor(String userMajor) {
        this.userMajor = userMajor;
    }

    public int getUserSchool() {
        return userSchool;
    }

    public void setUserSchool(int userSchool) {
        this.userSchool = userSchool;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getUserRole() {
        return userRole;
    }

    public void setUserRole(int userRole) {
        this.userRole = userRole;
    }

    public String getUserMarriage() {
        return userMarriage;
    }

    public void setUserMarriage(String userMarriage) {
        this.userMarriage = userMarriage;
    }

    public String getUserLike() {
        return userLike;
    }

    public void setUserLike(String userLike) {
        this.userLike = userLike;
    }

    public String getUserSelf() {
        return userSelf;
    }

    public void setUserSelf(String userSelf) {
        this.userSelf = userSelf;
    }

    public String getOrderCount() {
        return orderCount;
    }

    public void setOrderCount(String orderCount) {
        this.orderCount = orderCount;
    }

    public Date getCreatDate() {
        return creatDate;
    }

    public void setCreatDate(Date creatDate) {
        this.creatDate = creatDate;
    }
}


